home *** CD-ROM | disk | FTP | other *** search
- PERROR(3F) Last changed: 10-2-98
-
-
- NNAAMMEE
- ppeerrrroorr, ggeerrrroorr, iieerrrrnnoo, ssttrreerrrroorr - get system error messages
-
- SSYYNNOOPPSSIISS
- ssuubbrroouuttiinnee ppeerrrroorr ((_s_t_r_i_n_g))
- cchhaarraacctteerr**((**)) _s_t_r_i_n_g
- ssuubbrroouuttiinnee ggeerrrroorr ((_s_t_r_i_n_g))
- cchhaarraacctteerr**((**)) _s_t_r_i_n_g
- cchhaarraacctteerr**((**)) ffuunnccttiioonn _g_e_r_r_o_r(())
- ffuunnccttiioonn _i_e_r_r_n_o(())
- ssuubbrroouuttiinnee ssttrreerrrroorr ((_i_e_r_r_o_r__n_u_m,, _s_t_r_i_n_g))
- iinntteeggeerr _i_e_r_r_o_r__n_u_m
- cchhaarraacctteerr**((**)) _s_t_r_i_n_g
-
- IIMMPPLLEEMMEENNTTAATTIIOONN
- IRIX systems
-
- DDEESSCCRRIIPPTTIIOONN
- ppeerrrroorr writes a message to Fortran logical unit 0 appropriate to the
- last detected system error. _s_t_r_i_n_g is written preceding the standard
- error message.
-
- ggeerrrroorr returns the system error message in character variable _s_t_r_i_n_g.
- ggeerrrroorr may be called either as a subroutine or as a function.
-
- iieerrrrnnoo returns the error number of the last detected system error.
- This number is updated only when an error actually occurs. Most
- routines and I/O statements that might generate such errors return an
- error code after the call; that value is a more reliable indicator of
- what caused the error condition.
-
- ssttrreerrrroorr is the same as ggeerrrroorr except you pass in an explicit error
- number.
-
- BBUUGGSS
- _S_t_r_i_n_g in the call to _p_e_r_r_o_r can be no longer than 127 characters.
-
- The length of the string returned by _g_e_r_r_o_r and _s_t_r_e_r_r_o_r is determined
- by the calling program.
-
- Error numbers > 100 are mapped to Fortran errors. Thus you may not be
- able to retrieve the UNIX errors > 100 using these functions.
-
- NNOOTTEESS
- UNIX system error codes are described in iinnttrroo(2). The F77 I/O error
- codes and their meanings are the following:
- 100
- error in format
- 101
- out of space for i/o unit table
- 102
- formatted i/o not allowed
- 103
- unformatted i/o not allowed
- 104
- direct i/o not allowed
- 105
- sequential i/o not allowed
- 106
- can't backspace file
- 107
- null file name
- 108
- can't stat file
- 109
- file already connected
- 110
- off end of record
- 111
- truncation failed in end file
- 112
- incomprehensible list input
- 113
- out of free space
- 114
- unit not connected
- 115
- read unexpected character
- 116
- blank logical input field
- 117
- bad variable type
- 118
- bad namelist name
- 119
- variable not in namelist
- 120
- no end record
- 121
- namelist subscript out of range
- 122
- negative repeat count
- 123
- illegal operation for unit
- 124
- off beginning of record
- 125
- no * after repeat count
- 126
- 127
- can't find 'old' file
- 128
- unknown system error
- 129
- requires seek ability
- 130
- illegal argument
- 131
- duplicate key value on write
- 132
- indexed file not open
- 133
- bad isam argument
- 134
- bad key description
- 135
- too many open indexed files
- 136
- corrupted isam file
- 137
- isam file not opened for exclusive access
- 138
- record locked
- 139
- key already exists
- 140
- cannot delete primary key
- 141
- beginning or end of file reached
- 142
- cannot find requested record
- 143
- current record not defined
- 144
- isam file is exclusively locked
- 145
- filename too long
- 146
- cannot create lock file
- 147
- record too long
- 148
- key structure does not match file structure
- 149
- direct access on an indexed file not allowed
- 150
- keyed access on a sequential file not allowed
- 151
- keyed access on a relative file not allowed
- 152
- append access on an indexed file not allowed
- 153
- must specify record length
- 154
- key field value type does not match key type
- 155
- character key field value length too long
- 156
- fixed record on sequential file not allowed
- 157
- variable records allowed only on unformatted sequential file
- 158
- stream records allowed only on formatted sequential file
- 159
- maximum number of records in direct access file exceeded
- 160
- attempt to create or write to a readonly file
- 161
- must specify key descriptions
- 162
- carriage control not allowed for unformatted units
- 163
- indexed files only
- 164
- cannot use on indexed file
- 165
- cannot use on indexed or append file
- 166
- error in closing file
- 167
- invalid code in format specification
- 168
- invalid record number in direct access file
- 169
- cannot have endfile record on non-sequential file
- 170
- cannot position within current file
- 171
- cannot have sequential records on direct access file
- 172
- cannot find namelist in input file
- 173
- cannot read from stdout
- 174
- cannot write to stdin
- 175
- stat call failed in f77inode
- 181
- Direct unformatted I/O not allowed.
- 182
- cannot open a directory
- 183
- subscript out of bounds
- 184
- function not declared as varargs
- 185
- internal error -- may be due to illegal vararg usage.
-
- FFIILLEESS
- //uussrr//uuccbb//lliibb//lliibbUU7777..aa
- //uussrr//lliibb//lliibbII7777..aa
-
- SSEEEE AALLSSOO
- iinnttrroo(2), ppeerrrroorr(3F)
-
- This man page is available only online.
-